package router

import (
	"background/internal/model/back/repo"
	"background/internal/model/back/srv"
	"background/utilx/ginx"

	"github.com/google/wire"
)

func NewChildRouter(
	cloudOrder MusicSong,
) ginx.RouterInits {
	return []ginx.IRouterInit{
		cloudOrder,
	}
}

var Provider = wire.NewSet(
	repo.NewMediaRepo,
	srv.NewSong,

	NewMusicSong,
	NewChildRouter,
)
